package com.ruoyi.community.comment.service;

import java.util.List;
import com.ruoyi.community.comment.domain.CommunityComment;

/**
 * communitycommentService接口
 * 
 * @author ruoyi
 * @date 2025-05-22
 */
public interface ICommunityCommentService 
{
    /**
     * 查询communitycomment
     * 
     * @param id communitycomment主键
     * @return communitycomment
     */
    public CommunityComment selectCommunityCommentById(Long id);

    /**
     * 查询communitycomment列表
     * 
     * @param communityComment communitycomment
     * @return communitycomment集合
     */
    public List<CommunityComment> selectCommunityCommentList(CommunityComment communityComment);

    /**
     * 新增communitycomment
     * 
     * @param communityComment communitycomment
     * @return 结果
     */
    public int insertCommunityComment(CommunityComment communityComment);

    /**
     * 修改communitycomment
     * 
     * @param communityComment communitycomment
     * @return 结果
     */
    public int updateCommunityComment(CommunityComment communityComment);

    /**
     * 批量删除communitycomment
     * 
     * @param ids 需要删除的communitycomment主键集合
     * @return 结果
     */
    public int deleteCommunityCommentByIds(Long[] ids);

    /**
     * 删除communitycomment信息
     * 
     * @param id communitycomment主键
     * @return 结果
     */
    public int deleteCommunityCommentById(Long id);
}
